package com.iocup.keybastion.configuration;


import com.iocup.keybastion.common.AuthConstant;
import lombok.Getter;
import lombok.Setter;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author xyjxust
 * @create 2022/3/21 11:11
 **/
@Setter
@Getter
public class SecurityProperties {
    /**
     * 启用的客户端
     */
    private String client = AuthConstant.DEFAULT_CLIENT_NAME;

    /**
     * 未登录时是否直接跳转到登录界面
     */
    private boolean noLogin2Redirect = false;

    /**
     * 拦截路由
     */
    private Set<String> includeList = new HashSet<>();
    /**
     * 放行路由
     */
    private Set<String> excludeList = new HashSet<>();

}
